package education;

public class Tourist {
	private String name;
	private int age;
	
	
	public Tourist(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}


	public int ticket() {
		if(age >= 60 || age <= 18) {
			return 0;
			
		}else
		return 20;
	}

}
